
const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {

    onLoad () {
        let physic=cc.director.getPhysicsManager();
        physic.enabled=true;
        physic.gravity=cc.v2(0,-1600);
    }

    // start () {

    // }

    // update (dt:number) {

    // }
}
